package cn.lzj.service.User.impl.order;

import cn.lzj.mapper.PayTableMapper;
import cn.lzj.pojo.PayTable;
import cn.lzj.service.User.PayTableService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class PayTableServiceImpl implements PayTableService {

    @Resource
    private PayTableMapper payTableMapper;
    @Override
    public PayTable getPayTableById(Integer payId) {
        return payTableMapper.getPayTableItemById(payId);
    }

    @Override
    public int delPayTableById(PayTable payTable) {
        return payTableMapper.deletePayTableItem(payTable);
    }
}
